package com.group5.dao;

import com.group5.pojo.PurchasePlan;
import com.group5.pojo.PurchasePlanExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;


@Mapper
@Component
public interface PurchasePlanMapper {
    /**
     * author：郝文韬
     * @param uid
     * @return 采购计划列表
     */
    List<PurchasePlan> sellerQueryHisGroupPurchasePlan(Integer uid);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table purchase_plan
     *
     * @mbggenerated
     */
    int countByExample(PurchasePlanExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table purchase_plan
     *
     * @mbggenerated
     */
    int deleteByExample(PurchasePlanExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table purchase_plan
     *
     * @mbggenerated
     */
    int deleteByPrimaryKey(Integer order_id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table purchase_plan
     *
     * @mbggenerated
     */
    int insert(PurchasePlan record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table purchase_plan
     *
     * @mbggenerated
     */
    int insertSelective(PurchasePlan record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table purchase_plan
     *
     * @mbggenerated
     */
    List<PurchasePlan> selectByExample(PurchasePlanExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table purchase_plan
     *
     * @mbggenerated
     */
    PurchasePlan selectByPrimaryKey(Integer order_id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table purchase_plan
     *
     * @mbggenerated
     */
    int updateByExampleSelective(@Param("record") PurchasePlan record, @Param("example") PurchasePlanExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table purchase_plan
     *
     * @mbggenerated
     */
    int updateByExample(@Param("record") PurchasePlan record, @Param("example") PurchasePlanExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table purchase_plan
     *
     * @mbggenerated
     */
    int updateByPrimaryKeySelective(PurchasePlan record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table purchase_plan
     *
     * @mbggenerated
     */
    int updateByPrimaryKey(PurchasePlan record);
}